﻿           
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Professional
Description: A two-column, fixed-width design with dark color scheme background.
Version    : 1.0
Released   : 20081230

-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>@ViewBag.Title</title>
<link href="@Url.Content("~/Content/professional/style.css")" rel="stylesheet" type="text/css" />
</head>
<body>

<div id="wrapper">

<div id="header">
	<div id="logo">
		<h1>Colégio a Quinta Guimarães</h1>
		<!--<p>Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a></p>
        -->
	</div>
    <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
	<!-- end #logo -->
	<div id="menu">
		<ul>
			<li>@Html.ActionLink("Ínicio", "Index", "Home")</li>
            @if(!Request.IsAuthenticated){
            <li>@Html.ActionLink("Pré-Inscrição", "Create", "PreRegisto")</li>
                }
            @if(Request.IsAuthenticated){
                if(User.IsInRole("Administrator")){
            <li>@Html.ActionLink("Área Administrador", "Index", "Admin")</li>
                                                  }
            <li>@Html.ActionLink("Área Cliente", "Index", "Client")</li>
                                        } 
            <li>@Html.ActionLink("Sobre", "About", "Home")</li>            
		</ul>
	</div>
	<!-- end #menu -->
</div>
<!-- end #header -->
<div id="page">
	<div id="header-pic"></div>
	<div id="content">
        @RenderBody()
	</div>
	<!-- end #content -->
	<!--<div id="sidebar">
		<!--<div id="sidebar-bgtop"></div>
		<div id="sidebar-content">
			<div id="sidebar-bgbtm">
			<ul>
				<li id="search">
					<h2>Search</h2>
					<form method="get" action="">
						<fieldset>
						<input type="text" id="s" name="s" value="" />
						<input type="submit" id="x" value="Search" />
						</fieldset>
					</form>
				</li>
				<li>
					<h2>Lorem Ipsum</h2>
					<ul>
						<li><a href="#">Fusce dui neque fringilla</a></li>
						<li><a href="#">Eget tempor eget nonummy</a></li>
						<li><a href="#">Magna lacus bibendum mauris</a></li>
						<li><a href="#">Nec metus sed donec</a></li>
						<li><a href="#">Magna lacus bibendum mauris</a></li>
						<li><a href="#">Velit semper nisi molestie</a></li>
						<li><a href="#">Eget tempor eget nonummy</a></li>
					</ul>
				</li>
				<li>
					<h2>Volutpat Dolore</h2>
					<ul>
						<li><a href="#">Nec metus sed donec</a></li>
						<li><a href="#">Magna lacus bibendum mauris</a></li>
						<li><a href="#">Velit semper nisi molestie</a></li>
						<li><a href="#">Eget tempor eget nonummy</a></li>
						<li><a href="#">Nec metus sed donec</a></li>
						<li><a href="#">Magna lacus bibendum mauris</a></li>
						<li><a href="#">Velit semper nisi molestie</a></li>
					</ul>
				</li>
			</ul>
		</div>
		</div> 
	</div> -->
	<!-- end #sidebar -->
	<div style="clear:both; margin:0;"></div>
</div>
<!-- end #page -->

</div>

<div id="footer">
	<p>&copy; 2011. Todos os direitos reservados. Design by Free CSS Templates</p>
</div>
<!-- end #footer -->
</body>
</html>
